
import 'element-plus/dist/index.css'
import '@/assets/styles/element/index.scss';
import '@vue-flow/core/dist/style.css';
import '@vue-flow/core/dist/theme-default.css';
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedState from 'pinia-plugin-persistedstate';
import ArcoVue from '@arco-design/web-vue';
import '@arco-design/web-vue/dist/arco.css';
import ArcoVueIcon from '@arco-design/web-vue/es/icon'
import ElementPlus from 'element-plus'
import App from './App.vue'
import router from './router'
import http from 'axios'
import * as echarts from "echarts" // 引入echarts
const app = createApp(App)
const pinia = createPinia();
pinia.use(piniaPluginPersistedState);
app.use(pinia);
app.provide('http',http);
app.use(router)
app.use(ElementPlus)
app.use(ArcoVue);
app.use(ArcoVueIcon);
app.config.globalProperties.$echarts = echarts // 全局使用
app.mount('#app')

import IdooServiceChooseDialog from '@/components/base/dialog/chooseServiceDialog.vue'
app.component('IdooServiceChooseDialog', IdooServiceChooseDialog)
